import { createApp } from 'vue'
import App from './App.vue'
import { createStore } from 'vuex'

const store = createStore({
    state() { 
        return {
            count: 1
        }
    },
    mutations: {
        add(state){
            state.count++
        }
    }
})

createApp(App).use(store).mount('#app')